<template>
  <div class="bg-content content">
    <div class="box-bg">
      <div class="fk-top">
        <div class="border"></div>
        <div class="text">意见箱</div>
         <div class="border"></div>
      </div>
      <div class="fk-center">
        <p class="p">为了给您提供更好的服务，希望您能抽出几分钟时间，
将您的感受和建议告诉我们，我们非常重视每位用户的宝贵意见，期待您的参与！现在我们就马上开始吧！</p>
<p class="t">欢迎您对我们医院提出宝贵的意见和建议：</p>
<div class="textarea-fk">
  <van-field
  v-model="message"
  class="h-fk"
  autosize
  label=""
  type="textarea"
  maxlength="500"
  placeholder="请输入留言"
  show-word-limit
/>
   </div>
<div class="btn-fk" @click="Submit">
  提交
</div>
      </div>
    </div>
  </div>
</template>
<script>
import Vue from "vue";
import { Cell ,field} from "vant";
import { Toast } from 'vant';
Vue.use(Cell);
Vue.use(field);
export default {
  name: "index",
  data() {
    return {
      message:''
    };
  },
  methods: {
    // 提交
    Submit(){
      Toast.success('感谢您的反馈');
      this.message = '';
    }
  }
};
</script>
<style lang="scss">
  .h-fk{
    margin-top: 5px;
    .van-field__control{
      height: 100px!important;
    }
  }
</style>
<style lang="scss" scoped>
.bg-content {
  background: #f6f6f6;
}
.box-bg{
  width: 100%;
height: 356px;
background: #07C6B4;
.fk-top{
    margin: 0 auto;
    width: 332px;
padding: 20px 0;
  .border{
height: 4px;
background: #FFFFFF;
border-radius: 2px;
  }
  .text{
    text-align: center;
font-size: 29px;
font-family: Source Han Serif CN;
font-weight: bold;
color: #FFFFFF;
margin: 25px 0;
  }
}
.fk-center{
     margin: 0 auto;
  width: 336px;
height: 349px;
background: #FFFFFF;
border-radius: 5px;
.p{
padding: 32px 14px 24px 11px;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
color: #666666;
}
.t{
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
color: #333333;
padding: 0 0 11px 11px;
}
.btn-fk{
  margin: 15px auto 0;
  width: 136px;
height: 41px;
background: #07C6B4;
border-radius: 5px;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
text-align: center;
line-height: 41px;
}
.textarea-fk{
  width: 305px;
height: 150px;
border: 1px solid #999999;
border-radius: 5px;
margin: 0 auto;
}
}
}
</style>